<!DOCTYPE html>
<html lang="en">
<head>

    <header th:replace="layout/admin/head :: head"></header>
    <!-- Custom styles for this template -->
    <link th:href="@{/css/admin/admin_index.css}" rel="stylesheet"/>
    <script th:src="@{/js/wangEditor.min.js}"></script>

    <meta charset="UTF-8"/>
    <title>文章内容编辑页面</title>

</head>
<body>
<div id="wangEditor">
    <p>欢迎使用 <b>wangEditor</b> 富文本编辑器</p>
</div>

<!-- 注意， 只需要引用 JS，无需引用任何 CSS ！！！-->
<script type="text/javascript">
    var E = window.wangEditor
    var editor = new E('#wangEditor')
    editor.create()
</script>
</body>
</html>